package com.ld.admin.model.system;

import java.io.Serializable;
import java.util.Date;

import javax.validation.constraints.NotBlank;

import com.ld.shieldsb.annotation.field.DealField.Field;
import com.ld.shieldsb.annotation.field.db.Unique;
import com.ld.shieldsb.annotation.model.ModelAnno.Model;
import com.ld.shieldsb.annotation.model.ModelAnno.TableName;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 
 * 敏感词(sys_sensitive_word)
 * 
 * @ClassName SysSensitiveWordModel
 * @author <a href="mailto:donggongai@126.com" target="_blank">吕凯</a>
 * @date 2019年05月29日 16:31:32
 *
 */
@Model(name = "敏感词")
@TableName("sys_sensitive_word")
@Data
@EqualsAndHashCode(callSuper = false)
public class SysSensitiveWordModel implements Serializable {
    private static final long serialVersionUID = 5498134596807623281L;

    /*主键*/
    private Long id;
    /*敏感词*/
    @NotBlank
    @Unique
    @Field(name = "敏感词")
    private String word;
    @Field(name = "替换词语")
    private String replaceWord;
    /*0禁止1替换2审核*/
    @Field(name = "类型")
    private Integer type;
    /*创建人*/
    private Long createBy;
    /*创建人姓名*/
    private String createName;
    /*创建时间*/
    private Date createTime;
    /*修改人*/
    private Long updateBy;
    /*修改人姓名*/
    private String updateName;
    /*修改时间*/
    private Date updateTime;
    /*状态0正常-1删除*/
    private Integer state;
}
